-- Custom Cursor is the name of the stack containing the XCMDs XFCNs etc
put "Custom_Cursor" & quote into char (it +1) to (the length of source) of source
put source && Destination
CopyOver source, destination
if the result is not empty then
put the result
beep
else
push cd
go destination
if the result is empty then
get the script of this stack
if it contains "on closeStack" then
repeat with n = 1 to the number of lines of it
if line n of it contains "on closeStack" then
put return & "killslug" & return & "killCursor" after line n of it
exit repeat
end if
end repeat
else
put "on closeStack" & return & "killslug" & return & "killCursor" & return & "end closeStack" & return before it
end if
set the script of this stack to it
--here you could add any scripts to the home stack etc.
end if
pop cd
end if
end mouseUp
-- part contents for card part 2
----- text -----
This stack installs the routines necessary for the custom cursors in a stack which you select. The routines are stored in the Custom_cursor stack. It should be in the same folder as this stack. To install them simply press the
"Install cursors in a stack" button. An error message will be returned in the message box if the transfer was not completed. If the error is due to anything besides low disk space, low memory, or locked disks please inform me of the error.